package com.hang.gymmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hang.gymmanager.entity.UserInfoEntity;
import com.hang.gymmanager.req.GetUserInfoPageReq;
import com.hang.gymmanager.res.UserInfoPageRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * @author wyq
 * @version v1.0.0
 * @explain
 * @date 2024/3/15 9:54
 */
@Component
@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfoEntity> {
    Page<UserInfoPageRes> getAllUser(@Param("req") GetUserInfoPageReq req,
                                     Page page);
}
